package com.li.factorypattern.SimpleFactory;

/**
 * @author lirenchun
 */
public class Test {
    public static void main(String[] args) {
        UserFactory userFactory=new UserFactory();
        userFactory.produce(1).sleep();
        userFactory.produce(2).sleep();
    }
}
